package com.cma.dao;

import com.cma.model.db.TwUser;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;


/**
 * 
 * 数据库表【tw_user】对应的repository对象
 *
 * @author  bjs
 * @date 2016-12-27 16:16:05
 */
@Repository
public interface TwUserRepository extends PagingAndSortingRepository<TwUser, Long>, JpaSpecificationExecutor<TwUser> {


    TwUser findByName(String name);
}
